<template>
  <div class="vuu-pane line-05-bottom">
    <div class="vuu-pane-head">
      <img :src="options.head||headImg" alt="">
    </div>
    <div class="vuu-pane-content">
      <div class="table-ceil">
        <p>{{options.w1}}</p>
        <p>{{options.w2}}</p>
      </div>
    </div>
    <div class="vuu-pane-right" v-if="options.isViewHref">
      <img src="../../assets/image/link.png" alt="">
    </div>
  </div>
</template>
<script>
  // example/
  // config/
  // webpack.config.js
  // index.html
  //   .babelrc
  //   .editorconfig
  //   .postcssrc.js
  // build
  import headImg from '../../assets/image/head.jpg'

  export default {
    name: 'vuu-pane',
    props: {
      options: {
        type: Object,
        default() {
          return {}
        }
      }
    },
    data() {
      return {
        headImg
      }
    }
  }
</script>
<style scoped>
  .vuu-pane {
    position: relative;
    padding: 15px;
    background: #fff;
    overflow: hidden;
    zoom: 1;
  }

  .vuu-pane-head {
    float: left;
    width: 50px;
    height: 50px;
  }

  .vuu-pane-head img {
    width: 50px;
    height: 50px;
  }

  .vuu-pane-content {
    padding-left: 15px;
    float: left;
    height: 50px;
    font-weight: bold;
    font-size: 18px
  }

  .vuu-pane-content p:last-child {
    margin-top: 8px;
    font-size: 12px;
  }

  .vuu-pane-right {
    padding: 0 10px;
    position: absolute;
    top: 0;
    right: 0;
    height: 80px;
    text-align: right;
  }

  .vuu-pane-right img {
    margin-top: 30px;
    width: 20px;
  }
</style>
